﻿using SqlSugar;

namespace DataModels.Entities.ServiceDay
{
    /// <summary>
    /// 活动参与记录表
    /// </summary>
    [SugarTable]
    public class ServiceDayPointsActivityParticipation
    {
        [SugarColumn(IsPrimaryKey = true)]
        public Guid UUID { get; set; } = Guid.NewGuid();

        /// <summary>
        /// 积分活动UUID
        /// </summary>
        public Guid ServiceDayPointsActivitiesUUID { get; set; }

        /// <summary>
        /// 获得分数
        /// </summary>
        public int ParticipationCount { get; set; } = 0;

        /// <summary>
        /// 原始分数
        /// </summary>
        public int OriginalCount { get; set; }

        /// <summary>
        /// 参与时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 参与人
        /// </summary>
        public Guid CreateUserUUID { get; set; }
    }
}
